<?php
namespace app\common\model;


class UserMoney extends Model
{
    public $columns = [
        [  "type"=> self::TYPE_INT,  "column"=>"uid",  "memo"=>"uid", "length"=> 11 ],
        [  "type"=> self::TYPE_TINYINT,  "column"=>"status",  "memo"=>"状态", "length"=> 4 ],
        [  "type"=> self::TYPE_DECIMAL,  "column"=>"fee",  "memo"=>"价格", "length"=> 11 ],
        [  "type"=> self::TYPE_DECIMAL,  "column"=>"frozen_fee",  "memo"=>"冻结价格", "length"=> 11 ],
    ];
    function getUser(){
        return User::getById($this->uid);
    }
    static function feeChange(){

    }
    static function frozenfeeChange(){

    }
}